package com.xauto.pioneer.appuser.adapter;

import android.app.Activity;
import android.view.View;
import android.widget.TextView;
import com.xauto.pioneer.appuser.model.JSONStatus;

/**
 * Created by Lemon on 2015/12/11.
 * Desc:模版 适配器
 */
public class TemplateAdapter extends AbsAdapter<JSONStatus> {

    public TemplateAdapter(Activity context, int layout) {
        super(context, layout);
    }

    @Override
    public ViewHolder<JSONStatus> getHolder() {
        return new TemplateViewHolder();
    }


    private class TemplateViewHolder implements ViewHolder<JSONStatus> {

        private TextView tvSpinnerBank;

        @Override
        public void initViews(View v, int position) {
//            tvSpinnerBank = (TextView) v.findViewById(R.id.tvSpinnerBank);
        }

        @Override
        public void updateData(JSONStatus jsonStatus, int position) {
//            tvSpinnerBank.setText(bank.getBank_name());
        }

        @Override
        public void doOthers(JSONStatus jsonStatus, int position) {

        }
    }
}
